package org.jeecg.modules.commodity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.commodity.entity.Commodity;
import org.jeecg.modules.commodity.model.CommodityModel;

import java.util.List;

/**
 * @Auther: zhuzhuhong
 * @Date: 2019/11/15 14:10
 * @Description:
 */
public interface CommodityMapper extends BaseMapper<Commodity> {

    List<CommodityModel> selectCommodityModelByCommodityName(@Param("commodityName") String commodityName);

    String selectCommodityIdByCommodityName(@Param("commodityName") String commodityName);


}
